var path = require('path');
module.exports = {
    entry: "./public/src/index.js",
    output: {
        path: path.join(__dirname, 'public/dist'),
        filename: "bundle.js"
    },
    module: {
        loaders: [
            // {
            //   test: /\.jsx?$/,
            //   loaders: ['jsx?harmony']
            // },
            {
              test: /\.jsx?$/,
              loader: 'babel',
              exclude: /node_modules/,
              include: path.join(__dirname, 'public/src/')
            },
            // {
            //   test: /\.less$/,
            //   exclude: /node_modules/,
            //   loader: 'style-loader!css-loader!less-loader'
            // },
            // {
            //   test: /\.(css)$/,
            //   exclude: /node_modules/,
            //   loader: 'style-loader!css-loader'
            // }
        ]
    }
};
